<template>
	<view class="content">
        <!-- <image src="../../static/image/lndx_logo.png" class="logo"></image> -->
        <!-- <image v-if="data.title_pic_url" :src="data.title_pic_url" class="logo"></image> -->
        <!-- <view class="title u-font-32 u-text-center u-padding-top-40 u-padding-bottom-10">{{text.name}}</view> -->
        <!-- <view class="time u-font-24 u-text-center u-padding-bottom-35 u-margin-bottom-45"></view> -->
        <u-parse :html="data.rules"></u-parse>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				data: {},
			}
		},
		onLoad() {
			this.getRule();
		},
		methods: {
			getRule() {
				this.$ajax('select_rules', {
			        type: 4,//1平台介绍 2隐私政策 3服务协议 4用户协议 5充值说明 6保险授权委托书 7伙伴授权委托书 8伙伴通讯委托书 9电子合同授权书 10背调授权书
				}).then(ret => {
					this.data = ret.detail
				});
			},
		}
	}
</script>

<style lang="scss">
	page {
		background: #ffffff;
	}
	.content {
		border-top: 2rpx solid #e6e6e6;
		padding: 30rpx;
	}
    .title {
    	font-weight: bold;
    }
    .time {
    	color: #666666;
        border-bottom: 2rpx solid #e6e6e6;
    }
    .logo {
        width: 506rpx;
        height: 70rpx;
        margin: 50rpx auto;
    }

</style>
